/**
 * 
 */
package org.mhz.sit.dataaccess;

import java.util.List;

import org.mhz.sit.entity.Settings;
import org.mhz.sit.util.DatabaseUtil;

/**
 * @author Mahan
 *
 * Settings data access
 */
public class SettingsDAO
{
    /**
     * Retrieves all settings
     * 
     * @return a list of settings
     */
    @SuppressWarnings("unchecked")
    public List<Settings> getAll() 
    {
        return (List<Settings>) DatabaseUtil.getData(Settings.class.getName());
    } 
}
